<template>
  <section id="Index-Page">
    <Menu></Menu>
    <section class="index-content-ctn">
      <Header></Header>
      <div class="content-page-ctn">
        <keep-alive>
          <router-view v-if="$route.meta.keepalive"></router-view>
        </keep-alive>
        <router-view v-if="!$route.meta.keepalive"></router-view>
      </div>
    </section>
  </section>
</template>

<script>
import Menu from './Menu'
import Header from './Header'
export default {
  data () {
    return {
    }
  },
  components: {
    Menu,
    Header
  },
  created () {

  },
  methods: {}
}
</script>

<style lang="less" scoped>
  #Index-Page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 10px;
    width: 100%;
    height: 100%;
    background: #e8eaec;
    .index-content-ctn {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      width: 80%;
      height: 98%;
      overflow-x: hidden;
      .content-page-ctn {
        width: 100%;
        height: 90%;
        padding: 10px;
        background-color: #ffffff;
        border-radius: 10px;
        overflow-x: hidden;
      }
    }
  }
</style>
<style lang="less">
  .ivu-form-item {
    margin-bottom: 5px !important;
  }
  .icon-reset {
    font-size: 18px;
    font-weight: bolder;
    line-height: 5px;
    margin-right: 5px !important;
  }
  .btn-reset {
    width: 80px;
    margin-left: 5px;
  }
  .ipt-reset {
    width: 180px;
  }
</style>
